package com.heima.yuanzi;

public class Thread01 extends Thread{
    @Override
    public void run() {
        //多线程的实现方法---继承Thread
        //代码就是开启线程之后的代码
        for (int i = 0; i < 50; i++) {
            System.out.println("多线程开启了"+i);
        }
}
}
